package com.bdqn.crm.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.crm.mapper.CstLostMapper;
import com.bdqn.crm.pojo.CstLost;
import com.bdqn.crm.service.CstLostService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 *
 */
@Service
public class CstLostServiceImpl extends ServiceImpl<CstLostMapper, CstLost>
        implements CstLostService {

    @Resource
    private CstLostMapper cstLostMapper;



    /**
     * 分页查询
     *
     * @param custName        客户名称
     * @param custManagerName 客户经理
     * @param pageIndex
     * @param pageSize
     * @return
     */
    @Override
    public List<CstLost> selectPages(String custName, String custManagerName, Integer pageIndex, Integer pageSize) {
        return cstLostMapper.selectPages(custName, custManagerName, pageIndex, pageSize);
    }
}




